﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Chapter03
{
    public class Code06
    {
        public static void Begin()
        {
            /*
             * 1 usiing super.smashing.great
             * 2 99Flake wrox.com
             * 3 不是。字符串长度没有限制
             * 4 resultVar=resultVar+((var1*var2) + (var3%var4/var5))
             * */
            // 5
            double n1, n2, n3, n4;
            Console.WriteLine("Now give me four numbers:");
            n1 = Convert.ToDouble(Console.ReadLine());
            n2 = Convert.ToDouble(Console.ReadLine());
            n3 = Convert.ToDouble(Console.ReadLine());
            n4 = Convert.ToDouble(Console.ReadLine());
            Console.WriteLine("{0} * {1} * {2} * {3} = {4}", n1, n2, n3, n4, n1 * n2 * n3 * n4);
            Console.ReadLine();
        }
    }
}
